// prod 生产 dev 开发
const env = "dev"

const prod = {
	//url: 'https://webapi.posyun3721.com:4439', // 线上环境'
	// url: 'https://syun.pos08.com', // 线上环境'
	url: 'https://erp6.pos08.com/', // 线上环境'
	appKey: 'WX_MINI_MEHZ'
}
const dev = {
	//url: 'http://xcx.posyun3721.com:4431/',
	url: 'http://192.168.1.229:44539', // 生产环境'
	//url: 'http://192.168.3.254:44334',
	appKey: 'WX_MINI_MEHZ'
}

const test = {
	url: 'http://localhost:8080', // 测试环境'
	appKey: 'WX_MINI_MEHZ'
}


const config = {
	dev,
	prod,
	test,
}

let baseURL = config[env].url;
let appKey = config[env].appKey

export {
	baseURL,
	appKey
}